package com.neuedu.jdboot.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/sys/privilege")
public class PrivilegeController {
	@GetMapping("/list")
	public String list() {

		return "admin/admin-permission";
	}

	@GetMapping("/add")
	public String add() {

		return "admin/admin-permission-add";
	}

	@GetMapping("/edit")
	public String edit() {

		return "admin/admin-permission-edit";
	}
}
